package so.shanku.essential.activity;

import so.shanku.essential.R;
import so.shanku.essential.activity.base.BaseUIActivity;
import so.shanku.essential.fragment.ContentFragment;
import android.annotation.SuppressLint;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.os.Bundle;

/**
 * @我的
 * @author FangDongzhang
 *
 */
@SuppressLint("CommitTransaction") public class MyActivity extends BaseUIActivity{
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_my);
		setCenter_title(R.string.my);
		setBtn_menu(R.drawable.more, null);
		
		
		FragmentManager manager = getSupportFragmentManager();
		FragmentTransaction transaction= manager.beginTransaction();
		ContentFragment fragment = new ContentFragment();
		transaction.add(R.id.my_llt, fragment);
		transaction.commit();
		
	}
}
